package com.yc.bean;

/**
 * @ClassName OpType
 * @since: 2023/8/3 09:36
 * @auth: kirito
 * @description:
 **/

//枚举 enumeration
public enum OpType {
    WITHDROW("withdraw",1),DEPOSITE("deposite",2),TRANSFER("transfer",3);

    private String key;
    private int value;

    OpType(String key, int value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
